package com.poisonh.unifiedauth.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;

/**
 * Created by PoisonH on 2016/7/4.
 */
public class PtrrvBaseAdapter<VH extends RecyclerView.ViewHolder> extends RecyclerView.Adapter<VH>
{
    protected LayoutInflater mInflater;
    protected int mCount = 0;
    protected Context mContext = null;
//
//    public static final int TYPE_HEADER = 0;
//    public static final int TYPE_HISVIDEO = 1;
//    public static final int TYPE_MESSAGE = 2;

    public PtrrvBaseAdapter(Context context)
    {
        mContext = context;
        mInflater = LayoutInflater.from(context);
    }

    @Override
    public VH onCreateViewHolder(ViewGroup parent, int viewType)
    {
        return null;
    }


    @Override
    public void onBindViewHolder(VH holder, int position)
    {

    }

    public void setCount(int count)
    {
        mCount = count;
    }

    @Override
    public int getItemCount()
    {
        return mCount;
    }

    public Object getItem(int position)
    {
        return null;
    }
}

